import java.util.Scanner;

public class InStatementTest1 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);

        System.out.print("请输入姓名：");
        String name = input.next();
        System.out.println("name = " + name);

        System.out.print("请输入年龄：");
        int age = input.nextInt();
        System.out.println("age = " + age);

        System.out.print("请输入体重：");
        double weight = input.nextDouble();
        System.out.println("weight = " + weight);

        System.out.print("请输入性别：");
        char sex = input.next().charAt(0);
        System.out.println("sex = " + sex);
    }
}
